<div class="pageContent">
	<form method="post" class="pageForm required-validate" action="__URL__/insertTrends/navTabId/__MODULE__" onsubmit="return validateCallback(this,dialogAjaxDone);">
		 <input type="hidden" name="callbackType" value="closeCurrent"> 
         <input type="hidden" name="forwardUrl" value="__URL__/index"> 
         <input type="hidden" name="userid" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
         <input type="hidden" name="istrend" value="1"/>  <!-- 1为最新动态   0为公告 -->
         <input type="hidden" name="status" value="1"/>  <!-- 1为激活 -->
		<div class="pageFormContent" layoutH="56">
			<div class="unit">
				<!-- <label>标题：</label> -->
				<input name="title" type="hidden" class="required" value="最新动态"/>
			</div>
			<p class="unit">
				<label>作者：</label>
                <input name="author" type="text" value="{$Think.session.loginUserName}" readonly/>
			</p>
			<!-- <div class="unit">
				<label>失效时间：</label>
				<input type="text" name="deadtime" class="required date"/><a class="inputDateButton" href="javascript:;">选择</a>
			</div>
			<p class="unit">
				<label style="margin-right: -10px;">状态：</label>
				<select name="status" class="required combox">
					<option value="">请选择</option>
					<option value="1" selected >激活</option>
					<option value="0" >禁用</option>
					
				</select>
			</p> -->
			<!-- <p><label>内容：</label></p>
			   <div class="unit">
				
				<div id="tDiv"></div>
				<script type="text/javascript">
				var editor = new UE.ui.Editor();
				editor.render("tDiv");
				
				function SetVal() {    
              $("#content").val(editor.getContent()); //或者编辑器的值要写在这里或者上面，不能写在beforeSubmit事件里   
       } 
				
				</script>

				
		</div> -->
		<p class="unit">
				<label>时间：</label>
				<input type="text" name="pubdate" class="required"/><span><font color="red">如：1997-10-20</font></span>
			</p>
		<div class="unit">
			<label>内容：</label>
			<textarea name="content" cols="56" rows="5" style="width: 360px;"></textarea>
		</div>
			
			
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>


